﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiYiTong.Rocket.DataAccess
{
    /// <summary>
    /// 用于处理数据库操作返回信息
    /// </summary>
    public class DBResult
    {
        public DBResult()
        {
            returnValue = -99;
            intRet = -99;
            longRet = -99;
            strOutPut = "";
            outValues = new Dictionary<string, object>();
            ds = new DataSet();
        }

        /// <summary>
        /// 存储过程执行的返回值 ReturnValue
        /// </summary>
        public int returnValue { get; set; }

        public int intRet { get; set; }
        public long longRet { get; set; }

        public string strOutPut { get; set; }

        public Dictionary<string, object> outValues { get; set; }

        public DataSet ds { get; set; }
    }
}
